package com.dao;

import java.sql.SQLException;
import java.util.List;

import com.bean.Asn;
import com.bean.AsnCancel;
import com.bean.AsnDetail;


public interface AsnDao {
	
	public void insertAsn(Asn asn) throws SQLException;
	
	public void updateAsn(Asn asn) throws SQLException;
	
	public void insertAsnDetail(AsnDetail asnDetail) throws SQLException;
	
	public void updateAsnDetail(AsnDetail asnDetail) throws SQLException;
	
	public int insertAsnDetailArray(AsnDetail[] asnDetailArray);
	
	public int updateAsnDetailArray(AsnDetail[] asnDetailArray);
	
	public void insertAsnCancel(AsnCancel asnCancel) throws SQLException;
	
	public void updateAsnCancel(AsnCancel asnCancel) throws SQLException;
	
	public List<Asn> getAsnListByStatus(String status);

}
